<template>
    <div class="activity border-top">
        <div class="activity-item" @click="toDatails">
            <img src="@/assets/image/part1.jpg" alt="">
        </div>
        <div class="activity-item" @click="toDatails">
            <img src="@/assets/image/part2.jpg" alt="">
        </div>
    </div>
</template>
<script>
export default {
    props:["linkList"],
    data(){
        return{
            
        }
    },
    methods:{
        toDatails(){
            this.$router.push("/detail")
        }
    }
}
</script>
<style scoped>
.activity{
    margin-top: .2rem;
    margin-bottom: .2rem;
    position: relative;
    display: flex;
    background: #fff;
}
.activity .activity-item{
    /* position: relative; */
    flex: 1;
    font-size: .28rem;
    text-align: center;
    /* background: red; */
    height: 1.4rem;
    /* border-radius: 1px solid #e0e0e0; */
}
.activity .activity-item img{
    width: 100%;
    height: 100%;

}


</style>